package com.ymttest.database.sharding.db.sharding.model;

import java.util.Date;

public class PickInStorePo {
    /**
     * order_id BIGINT(19) 必填<br>
     * 订单id
     */
    private Long orderId;

    /**
     * pickup_type TINYINT(3) 必填<br>
     * 自提类型(0:买家预约，1:等商家通知)
     */
    private Byte pickupType;

    /**
     * pickup_user_naame VARCHAR(50) 必填<br>
     * 提货人姓名
     */
    private String pickupUserName;

    /**
     * pickup_user_phone VARCHAR(200) 必填<br>
     * 提货人手机号(加密)
     */
    private String pickupUserPhone;

    /**
     * user_reserve_time_span_start TIMESTAMP(19) 必填<br>
     * 用户预约提货时间段的开始时间
     */
    private Date userReserveTimeSpanStart;

    /**
     * user_reserve_time_span_end TIMESTAMP(19) 必填<br>
     * 用户预约提货时间段的截止时间
     */
    private Date userReserveTimeSpanEnd;

    /**
     * pickup_store_id BIGINT(19) 必填<br>
     * 门店id
     */
    private Long pickupStoreId;

    /**
     * pickup_code BIGINT(19)<br>
     * 提货码
     */
    private String pickupCode;

    /**
     * pickup_status TINYINT(3) 必填<br>
     * 提货状态(0:初始,1:待自提点确认收获,2:待买家来自提,3.已完成自提)
     */
    private Byte pickupStatus;

    /**
     * picked_up_time TIMESTAMP(19)<br>
     * 提货完成时间
     */
    private Date pickedUpTime;

    /**
     * delete_flag TINYINT(3) 默认值[1] 必填<br>
     * 删除标记(0:已删除,1:正常)
     */
    private Byte deleteFlag;

    /**
     * create_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 创建时间
     */
    private Date createTime;

    /**
     * update_time TIMESTAMP(19)<br>
     * 更新时间
     */
    private Date updateTime;

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单id
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单id
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * pickup_type TINYINT(3) 必填<br>
     * 获得 自提类型(0:买家预约，1:等商家通知)
     */
    public Byte getPickupType() {
        return pickupType;
    }

    /**
     * pickup_type TINYINT(3) 必填<br>
     * 设置 自提类型(0:买家预约，1:等商家通知)
     */
    public void setPickupType(Byte pickupType) {
        this.pickupType = pickupType;
    }

    /**
     * pickup_user_naame VARCHAR(50) 必填<br>
     * 获得 提货人姓名
     */
    public String getPickupUserName() {
        return pickupUserName;
    }

    /**
     * pickup_user_naame VARCHAR(50) 必填<br>
     * 设置 提货人姓名
     */
    public void setPickupUserName(String pickupUserName) {
        this.pickupUserName = pickupUserName == null ? null : pickupUserName.trim();
    }

    /**
     * pickup_user_phone VARCHAR(200) 必填<br>
     * 获得 提货人手机号(加密)
     */
    public String getPickupUserPhone() {
        return pickupUserPhone;
    }

    /**
     * pickup_user_phone VARCHAR(200) 必填<br>
     * 设置 提货人手机号(加密)
     */
    public void setPickupUserPhone(String pickupUserPhone) {
        this.pickupUserPhone = pickupUserPhone == null ? null : pickupUserPhone.trim();
    }

    /**
     * user_reserve_time_span_start TIMESTAMP(19) 必填<br>
     * 获得 用户预约提货时间段的开始时间
     */
    public Date getUserReserveTimeSpanStart() {
        return userReserveTimeSpanStart;
    }

    /**
     * user_reserve_time_span_start TIMESTAMP(19) 必填<br>
     * 设置 用户预约提货时间段的开始时间
     */
    public void setUserReserveTimeSpanStart(Date userReserveTimeSpanStart) {
        this.userReserveTimeSpanStart = userReserveTimeSpanStart;
    }

    /**
     * user_reserve_time_span_end TIMESTAMP(19) 必填<br>
     * 获得 用户预约提货时间段的截止时间
     */
    public Date getUserReserveTimeSpanEnd() {
        return userReserveTimeSpanEnd;
    }

    /**
     * user_reserve_time_span_end TIMESTAMP(19) 必填<br>
     * 设置 用户预约提货时间段的截止时间
     */
    public void setUserReserveTimeSpanEnd(Date userReserveTimeSpanEnd) {
        this.userReserveTimeSpanEnd = userReserveTimeSpanEnd;
    }

    /**
     * pickup_store_id BIGINT(19) 必填<br>
     * 获得 门店id
     */
    public Long getPickupStoreId() {
        return pickupStoreId;
    }

    /**
     * pickup_store_id BIGINT(19) 必填<br>
     * 设置 门店id
     */
    public void setPickupStoreId(Long pickupStoreId) {
        this.pickupStoreId = pickupStoreId;
    }

    /**
     * pickup_code BIGINT(19)<br>
     * 获得 提货码
     */
    public String getPickupCode() {
        return pickupCode;
    }

    /**
     * pickup_code BIGINT(19)<br>
     * 设置 提货码
     */
    public void setPickupCode(String pickupCode) {
        this.pickupCode = pickupCode;
    }

    /**
     * pickup_status TINYINT(3) 必填<br>
     * 获得 提货状态(0:初始,1:待自提点确认收获,2:待买家来自提,3.已完成自提)
     */
    public Byte getPickupStatus() {
        return pickupStatus;
    }

    /**
     * pickup_status TINYINT(3) 必填<br>
     * 设置 提货状态(0:初始,1:待自提点确认收获,2:待买家来自提,3.已完成自提)
     */
    public void setPickupStatus(Byte pickupStatus) {
        this.pickupStatus = pickupStatus;
    }

    /**
     * picked_up_time TIMESTAMP(19)<br>
     * 获得 提货完成时间
     */
    public Date getPickedUpTime() {
        return pickedUpTime;
    }

    /**
     * picked_up_time TIMESTAMP(19)<br>
     * 设置 提货完成时间
     */
    public void setPickedUpTime(Date pickedUpTime) {
        this.pickedUpTime = pickedUpTime;
    }

    /**
     * delete_flag TINYINT(3) 默认值[1] 必填<br>
     * 获得 删除标记(0:已删除,1:正常)
     */
    public Byte getDeleteFlag() {
        return deleteFlag;
    }

    /**
     * delete_flag TINYINT(3) 默认值[1] 必填<br>
     * 设置 删除标记(0:已删除,1:正常)
     */
    public void setDeleteFlag(Byte deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    /**
     * create_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 获得 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * create_time TIMESTAMP(19) 默认值[CURRENT_TIMESTAMP] 必填<br>
     * 设置 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * update_time TIMESTAMP(19)<br>
     * 获得 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19)<br>
     * 设置 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", pickupType=").append(pickupType);
        sb.append(", pickupUserNaame=").append(pickupUserName);
        sb.append(", pickupUserPhone=").append(pickupUserPhone);
        sb.append(", userReserveTimeSpanStart=").append(userReserveTimeSpanStart);
        sb.append(", userReserveTimeSpanEnd=").append(userReserveTimeSpanEnd);
        sb.append(", pickupStoreId=").append(pickupStoreId);
        sb.append(", pickupCode=").append(pickupCode);
        sb.append(", pickupStatus=").append(pickupStatus);
        sb.append(", pickedUpTime=").append(pickedUpTime);
        sb.append(", deleteFlag=").append(deleteFlag);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}